package huoye.shops.huoye.mine.model;

import com.google.gson.annotations.SerializedName;

import java.lang.ref.PhantomReference;
import java.util.List;

import huoye.shops.base.MyPojo;
import huoye.shops.huoye.operation.model.DetialImgs;

/**
 * Created by who on 2018/8/31.
 */

public class ProductInfo extends MyPojo {
    @SerializedName("addTime")
    private String addTime;
    @SerializedName("limitNum")
    private String limitNum;
    @SerializedName("productId")
    private String productId;
    @SerializedName("productTitle")
    private String productTitle;
    @SerializedName("saleCount")
    private String saleCount;
    @SerializedName("salePrize")
    private float salePrize;
    @SerializedName("showImg")
    private String showImg;

    //用来判断折扣类型
    @SerializedName("disType")
    private int disType;

    @SerializedName("discount")
    private String discount;
    @SerializedName("activityStar")
    private String activityStar;
    @SerializedName("activityEnd")
    private String activityEnd;

    @SerializedName("isHot")
    private Boolean isHot;
    @SerializedName("isNew")
    private Boolean isNew;
    @SerializedName("isTop")
    private Boolean isTop;
    @SerializedName("isSale")
    private int isSale;



    //用来判断  编辑的时候不能进行售价和折扣的修改
    private int typeIntent;

    public int getTypeIntent() {
        return typeIntent;
    }

    public void setTypeIntent(int typeIntent) {
        this.typeIntent = typeIntent;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public int getDisType() {
        return disType;
    }

    public void setDisType(int disType) {
        this.disType = disType;
    }


    @SerializedName("detialImgs")
    List<DetialImgs> detialImgs;

    @SerializedName("faceImgs")
    List<DetialImgs> faceImgs;

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getLimitNum() {
        return limitNum;
    }

    public void setLimitNum(String limitNum) {
        this.limitNum = limitNum;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductTitle() {
        return productTitle;
    }

    public void setProductTitle(String productTitle) {
        this.productTitle = productTitle;
    }

    public String getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(String saleCount) {
        this.saleCount = saleCount;
    }

    public float getSalePrize() {
        return salePrize;
    }

    public void setSalePrize(float salePrize) {
        this.salePrize = salePrize;
    }

    public String getShowImg() {
        return showImg;
    }

    public void setShowImg(String showImg) {
        this.showImg = showImg;
    }

    public Boolean getHot() {
        return isHot;
    }

    public void setHot(Boolean hot) {
        isHot = hot;
    }

    public Boolean getNew() {
        return isNew;
    }

    public void setNew(Boolean aNew) {
        isNew = aNew;
    }

    public Boolean getTop() {
        return isTop;
    }

    public void setTop(Boolean top) {
        isTop = top;
    }

    public int getIsSale() {
        return isSale;
    }

    public void setIsSale(int isSale) {
        this.isSale = isSale;
    }

    public List<DetialImgs> getDetialImgs() {
        return detialImgs;
    }

    public void setDetialImgs(List<DetialImgs> detialImgs) {
        this.detialImgs = detialImgs;
    }

    public List<DetialImgs> getFaceImgs() {
        return faceImgs;
    }

    public void setFaceImgs(List<DetialImgs> faceImgs) {
        this.faceImgs = faceImgs;
    }

    public String getActivityStar() {
        return activityStar;
    }

    public void setActivityStar(String activityStar) {
        this.activityStar = activityStar;
    }

    public String getActivityEnd() {
        return activityEnd;
    }

    public void setActivityEnd(String activityEnd) {
        this.activityEnd = activityEnd;
    }
}
